package cn.mulanbay.persistent.mapper;

import cn.mulanbay.persistent.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper 接口
 *
 * @author fenghong
 * @create 2022-01-16 10:00
 */
public interface UserMapper extends BaseMapper<User> {

    User getUserByUsernameOrPhone(@Param("name") String name);
}
